import $http from './index.js'

const selet = (data) => {
    return $http.get('/api/Test/Select', data);
}
//分页查询
const feye = (data) => {
    return $http.get('/api/Test/Getus', data)
}
//销售机会添加
const inser = (data) => {
    return $http.post('/api/Test/Insert', data)
}
//销售机会修改
const upda = (data) => {
    return $http.put('/api/Test/Update', data)
}
//销售机会删除
const dele = (data) => {
    return $http.delete('/api/Test/Delete', data)
}
//导航父级类型查询
const gtp = () => {
    return $http.get('/api/Test/Gettype')
}
//导航子级类型查询
const gtp1 = () => {
    return $http.get('/api/Test/Gettype1')
}
//用户表查询
const getao = () => {
    return $http.get('/api/Test/Getao')
}
//分配人修改
const upxg = (data) => {
    return $http.get('/api/Test/Updatefp', data)
}
//销售分配模糊查询
const mhc = (data) => {
    return $http.get('/api/Test/Getusmh', data)
}
//销售开发计划状态查询
const kfzt = () => {
    return $http.get('/api/Test/Getuskf')
}
//销售开发计划状态修改
const zt = (data) => {
    return $http.get('/api/Test/Updatefp1', data)
}
//销售计划表查询
const jhcx = (data) => {
    return $http.get('/api/Test/Getjh', data)
}
//销售计划表添加
const jhtj = (data) => {
    return $http.post('/api/Test/inser', data)
}
//开发成功后的修改
const cgxg = (data) => {
    return $http.get('/api/Test/Updcg', data)
}
//失败原因添加
const sbxg = (data) => {
    return $http.get('/api/Test/Updsb', data)
}
//失败原因查询
const sbcx = (data) => {
    return $http.get('/api/Test/Getyy', data)
}
//客户信息添加
const khtj = (data) => {
    return $http.get('/api/Test/inserc', data)
}
//客户信息条件查询
const khtjcx = (data) => {
    return $http.get('/api/Test/Getpd', data)
}
//客户信息分页查询
const khfy = (data) => {
    return $http.get('/api/Test/Getfy', data)
}
//客户信息修改查询
const khxgz = (data) => {
    return $http.put('/api/Test/Updakh', data)
}
//客户信息模糊查询
const khmhc = (data) => {
    return $http.get('/api/Test/Getkhmh', data)
}
//联系人查询
const lxrc = () => {
    return $http.get('/api/Test/Getlxr')
}
//按客户信息查询联系人
const khlxr = (data) => {
    return $http.get('/api/Test/lxrld', data)
}
//联系人添加
const lxrtj = (data) => {
    return $http.post('/api/Test/Insertlxr', data)
}
//联系人修改
const uplxr = (data) => {
    return $http.put('/api/Test/Updalxr', data)
}
//联系人删除
const dellxr = (data) => {
    return $http.delete('/api/Test/Deletelxr', data)
}
//交往查询
const getjw = () => {
    return $http.get('/api/Test/Getjw')
}
//按客户查询交往
const getjwc = (data) => {
    return $http.get('/api/Test/Getjwc', data)
}
//交往添加
const insejw = (data) => {
    return $http.post('/api/Test/Insertjw', data)
}
//交往修改
const upjw = (data) => {
    return $http.put('/api/Test/Updajw', data)
}
//交往删除
const dejw = (data) => {
    return $http.delete('/api/Test/Deletejw', data)
}
//流失分页查询
const lsfy = (data) => {
    return $http.get('/api/Test/Getls', data)
}
//措施添加
const cstj = (data) => {
    return $http.post('/api/Test/Insertcs', data)
}
//流失添加
const lstj = (data) => {
    return $http.get('/api/Test/Insertlstj', data)
}
//措施查询
const cscx = (data) => {
    return $http.get('/api/Test/Getcs', data)
}
//措施添加判断
const cstjpd = (data) => {
    return $http.get('/api/Test/Insepd', data)
}
//流失修改
const lsxg = (data) => {
    return $http.get('/api/Test/Updalxr', data)
}
//订单添加
const insed = (data) => {
    return $http.get('/api/Test/Inserd', data)
}
//cuid查询
const cuid = (data) => {
    return $http.get('/api/Test/Cuidc', data)
}
//原因查询
const Getyycx = (data) => {
    return $http.get('/api/Test/Getyycx', data)
}
//数值查询
const Getsx = (data) => {
    return $http.get('/api/Test/Getsx', data)
}
//服务添加
const infw = (data) => {
    return $http.post('/api/Test/Insertfw', data)
}
//类型查询
const Getlx = () => {
    return $http.get('/api/Test/Selectlx')
}
//服务分配查询
const Getfw = (data) => {
    return $http.get('/api/Test/Getfw', data)
}
//服务分配修改
const Updafw = (data) => {
    return $http.get('/api/Test/Updafw', data)
}
//服务分配查询判断
const Updafwpd = (data) => {
    return $http.get('/api/Test/Updafwpd', data)
}
//服务处理
const Getfwcz = (data) => {
    return $http.get('/api/Test/Getfwcz', data)
}
//服务分配处理修改
const Updafwcl = (data) => {
    return $http.put('/api/Test/Updafwcl', data)
}
//服务反馈
const Updafwfc = (data) => {
    return $http.get('/api/Test/Updafwfc', data)
}
//服务归档
const Updafwgd = (data) => {
    return $http.get('/api/Test/Updafwgd', data)
}
//服务归档查询
const Updacx = (data) => {
    return $http.get('/api/Test/Updacx', data)
}
//服务结果修改
const Updajg = (data) => {
    return $http.put('/api/Test/Updajg', data)
}
//客户查询
const Getsy = (data) => {
    return $http.get('/api/Test/Getsy', data)
}
//用户查询
const Getsyyh = (data) => {
    return $http.get('/api/Test/Getsyyh', data)
}
//类型查询
const Type = () => {
    return $http.get('/api/Test/Type')
}
//用户添加
const Insertyh = (data) => {
    return $http.post('/api/Test/Insertyh', data)
}
//用户修改
const Updyh = (data) => {
    return $http.put('/api/Test/Updyh', data)
}
//用户删除
const Delt = (data) => {
    return $http.delete('/api/Test/Delt', data)
}
//类型查询
const Type1 = (data) => {
    return $http.get('/api/Test/Type1', data)
}
//角色ID添加
const Insertid = (data) => {
    return $http.post('/api/Test/Insertid', data)
}
//角色ID修改
const Updid = (data) => {
    return $http.put('/api/Test/Updid', data)
}
//角色ID删除
const Detid = (data) => {
    return $http.delete('/api/Test/Detid', data)
}
//权限查询
const Getqx = (data) => {
    return $http.get('/api/Test/Getqx', data)
}
//权限添加
const Insqx = (data) => {
    return $http.post('/api/Test/Insqx', data)
}
//权限修改
const Updqx = (data) => {
    return $http.get('/api/Test/Updqx', data)
}
//权限删除
const Detqx = (data) => {
    return $http.delete('/api/Test/Detqx', data)
}
//权限查询
const Gettypezc = () => {
    return $http.get('/api/Test/Gettypezc')
}
//权限查询
const Gettypefy = (data) => {
    return $http.get('/api/Test/Gettypefy', data)
}
//父级添加
const Insq = (data) => {
    return $http.post('/api/Test/Insq', data)
}
//父级修改
const Updfj = (data) => {
    return $http.put('/api/Test/Updfj', data)
}
//父级删除
const Detfj = (data) => {
    return $http.delete('/api/Test/Detfj', data)
}
//子级查询
const Getpdc = (data) => {
    return $http.get('/api/Test/Getpdc', data)
}
//类查询
const CreateTree = (data) => {
    return $http.get('/api/Test/CreateTree', data)
}
//权限查询
const Gettype2 = (data) => {
    return $http.get('/api/Test/Gettype2', data)
}
//权限删除
const Deletqx = (data) => {
    return $http.get('/api/Test/Deletqx', data)
}
//权限添加
const Updaeqx = (data) => {
    return $http.get('/api/Test/Updaeqx', data)
}
export {
    selet, feye, inser, upda, dele, gtp, gtp1, getao, upxg, mhc, kfzt, zt, jhcx, jhtj,
    cgxg, sbxg, sbcx, khtj, khtjcx, khfy, khxgz, khmhc, lxrc, khlxr, lxrtj, uplxr, dellxr,
    getjw, getjwc, insejw, upjw, dejw, lsfy, cstj, lstj, cscx, cstjpd, lsxg, insed, cuid,
    Getyycx, Getsx, infw, Getlx, Getfw, Updafw, Updafwpd, Getfwcz, Updafwcl, Updafwfc, Updafwgd,
    Updacx, Updajg, Getsy, Getsyyh, Type, Insertyh, Updyh, Delt, Insertid, Updid, Detid, Type1, Getqx,
    Insqx, Updqx, Detqx, Gettypezc, Gettypefy, Insq,Updfj,Detfj,Getpdc,CreateTree,Gettype2,Deletqx,Updaeqx
}